
<body>
<div th:fragment="top"  class="top flex flex-align-center flex-space-around">
	<div class="name clearfix">
		<div class="fl">
			<img src="../img/menu_x_032.png" />
		</div>
		<div class="fl" style="line-height: 80px;padding-left: 15px;">东总博士后管理系统</div>
	</div>
	<div class="people">
		<div class="fath" id="deptname"><span>admin</span><i class="iconfont icon-xiangxia"></i></div>
		<div class="back" style="display: block">
			<ul>
				<li onclick="logout()">退出系统</li>
				<li><a style="color: white; text-decoration: none;" href="../index.html">返回首页</a></li>
			</ul>
		</div>
	</div>
	<script type="text/javascript" src="../js/top1.js?ver=0.3"></script>
	<script>
		var items = '[[${DeptName}]]';
		$("#deptname span").text(items);
		// 退出登录
		function logout(){
			layer.open({type:3});
			$.post('../admin/logout',{
				rdm : Math.random()
			},function(ppData){
				layer.closeAll("loading");

				if(ppData){
					window.location.href="../manage/login.html";
				}
			},"json");
		}

	</script>
</div>

</body>
